<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="com.sailorj.medical.domain.join_nh.Join_nh" %>
<%@ include file="/common/base.jsp"%>

<!DOCTYPE html>
<html lang="zh-cn">
<head>
<base href="<%=basePath%>">

<title>家庭档案信息列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/admin.css">
<script src="js/jquery-1.4.4.min.js"></script>
<script src="js/admin.js"></script>
<script type="text/javascript" src="js/print.js"></script>
</head>
<body>
	<form method="post" action="" id="listform">
		<div class="panel admin-panel">
			<div class="panel-head">
				<strong class="icon-reorder">参合缴费登记信息列表</strong>
			</div>
			<div class="padding border-bottom">
				<ul class="search" style="padding-left:10px;">
					<li><a class="button border-green icon-plus-square-o"
						href="<%=path%>/biz/Join_nhServlet?m=in"> 参合登记</a></li>
					<li>搜索：</li>
					<li><input type="text" placeholder="请输入搜索关键字" name="keywords"
						class="input"
						style="width:250px; line-height:17px;display:inline-block" /> <a
						href="javascript:void(0)" class="button border-main icon-search"
						onclick="changesearch()"> 搜索</a></li>
				</ul>
			</div>
			<!--startprint3-->
			<table class="table table-hover text-center">
				<tr>	<th width="50">序号</th>
					<th width="20" style="text-align:center;">&nbsp;</th>
					<!-- <th>行政区域</th> -->
					<th>参合登记编码</th>
					<th>户主姓名</th>
					<th>参合人身份证号</th>
					<th>参合发票编号</th>
					<th>参合时间</th>
					<th>参合年份</th>
					<th>缴费金额</th>
					<th>登记员</th>
					<th>操作</th>
				</tr>
				<%
					String pageNo = request.getParameter("pageNo");
					int p = pageNo == null ? 1 : Integer.parseInt(pageNo);
					Join_nhDao dao = new Join_nhDao();
					String sql = "select * from t_join_nh where 1=1 ORDER BY family_id";
					Object[] params = {};
					Page pageBean = dao.queryOjectsByPage(sql, params, p,
							Constant.ROW);
				%>
				<%
					for (int i = 0; i < pageBean.getDatas().size(); i++) {

						Join_nh model= (Join_nh) pageBean.getDatas().get(i);
						
				%>
				<tr>
				<td><%=(i+1) %></td>
					<td><input type="checkbox" name="ids"
						value="<%=model.getJoin_nh_code()%>" /></td>
					<%-- <td align="center"><%=model.getArea().getAreaname()%></td> --%>
					<td><%=model.getJoin_nh_code() %></td>
					<td><%=model.getFamily().getFamilyname()%></td>
					<td><%=model.getJoin_id_card()%></td>
					<td><%=model.getJoin_invoice_code() %></td>
					<td><%=model.getJoin_time()%></td>
					<td><%=model.getJoin_year()%></td>
					<td><%=model.getMoney() %></td>
					<td><%=model.getUser_id()%></td>
					
					<td></td>
				</tr>
				<%
					}
				%>
			</table>
			<!--endprint3-->
			<div class="pagelist">
			<input type=button class="button border-main icon-search" name='button_export' title='打印' onclick=preview(3) value=打印>
		</div>
		</div>
	</form>

</body>
</html>
